<?php
declare(strict_types=1);

// API路由
// 路由前缀: /api/wechat

use SixShop\Wechat\Controller\UserController;
use think\facade\Route;

Route::group('user', function () {
    Route::get('phone_number', [UserController::class, 'phoneNumber']);
    Route::get('session', [UserController::class, 'session']);
})->middleware(['auth']);